package com.example.whatrubbish.mapper;

import com.example.whatrubbish.model.Integration;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Mapper
@Component("IntegrationMapper")
public interface IntegrationMapper {
    Integration selectByUserId(String userId);

    int deleteByPrimaryKey(Long id);

    int insert(Integration record);

    int insertSelective(Integration record);

    Integration selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Integration record);

    int updateByUserIdSelective(Integration record);

    int updateByPrimaryKey(Integration record);
}